<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>添加赛事-清风品道</title>

</head>
<body>
<jsp:include page="./nav.jsp"></jsp:include>
<%
	java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-MM-dd");
	java.util.Date currentTime = new java.util.Date();
	String str_date1 = formatter.format(currentTime);
%>
<form action="AddContestServlet" method="post">
	<table>
		<tr>
			<td align="right"><label>标题</label></td>
			<td align="left"><input type="text" id="title" name="title" /></td>
		</tr>
		<tr>
			<td align="right"><label>信息来源</label></td>
			<td align="left"><input type="text" id="source" name="source" value="清风品道" /></td>
		</tr>
		<tr>
			<td align="right"><label>时间</label></td>
			<td align="left"><input type="text" id="time" name="time" value="<%=str_date1 %>"/></td>
		</tr>
		<tr valign="top">
			<td align="right">正文</td>
			<td align="left"><textarea rows="20" cols="80" id="article" name="article"></textarea></td>
		</tr>
	</table>

	<input type="submit" value="提交" />
</form>
</body>
</html>